package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.common.dto.PageDTO;
import com.leyou.item.dto.BrandDTO;
import com.leyou.item.dto.SpecParamDTO;
import com.leyou.item.entity.Brand;
import com.leyou.item.entity.SpecParam;
import org.springframework.stereotype.Service;

import java.util.List;

public interface SpecParamService extends IService<SpecParam> {

    List<SpecParamDTO> queryParamByCategoryId(Long cid);

    void addParams(SpecParamDTO specParamDTO);

    void updataParams(SpecParamDTO specParamDTO);

    List<SpecParamDTO> querySpecParams(Long categoryId, Long groupId, Boolean searching);

}
